package main

import (
	"github.com/gogf/gf/frame/g"
	_ "websocket/boot"
	_ "websocket/router"
)

func main() {
	s := g.Server()
	//s.EnableAdmin()
	//s.EnablePProf()
	//s.SetDumpRouterMap(false)
	//s.Logger().SetStdoutPrint(false)
	//s.Logger().SetHeaderPrint(false)
	//s.Logger().SetFlags(26)
	//s.Logger().SetAsync(true)
	//s.Logger().SetDebug(false)
	//
	//g.Log().SetFlags(glog.F_TIME_DATE | glog.F_TIME_TIME | glog.F_FILE_LONG)
	//g.Log().SetAsync(true)
	//g.Log().SetHeaderPrint(false)
	//g.Log().SetStdoutPrint(true)

	s.Run()

}
